package cn.yzx.pethome.system.dept.mapper;

import cn.yzx.pethome.base.mapper.BaseMapper;
import cn.yzx.pethome.system.dept.domain.Department;
import org.springframework.stereotype.Repository;

@Repository
public interface DepartmentMapper extends BaseMapper<Department> {

    //根据id查询子类
    Long findByParentId(Long id);
}